package swe.user;

import java.io.Serializable;

public class Rating implements Serializable{
	
	double rating;
	User fromUser;
	
	Rating(double rating, User fromUser) {
		this.rating = rating;
		this.fromUser = fromUser;
	}
	
	public double getRating() {
		return rating;
	}
	public void setRating(double rating) {
		this.rating = rating;
	}
	public User getFromUser() {
		return fromUser;
	}
	public void setFromUser(User fromUser) {
		this.fromUser = fromUser;
	}
	
}
